.json-diff-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.json-inputs {
  display: flex;
  gap: 16px;
  min-height: 200px;
  height: 30%;
}

.textarea-container {
  flex: 1;
  display: flex;
}

.textarea-container textarea {
  width: 100%;
  resize: none;
  padding: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-family: monospace;
}

.button-container {
  display: flex;
  justify-content: center;
}

.diff-result {
  flex: 1;
  overflow: auto;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
}

/* 调整 diff2html 的样式以适应容器 */
.d2h-wrapper {
  margin: 0;
}

.d2h-file-wrapper {
  border: none;
  margin: 0;
} 